window.onload  = function(){	
	var ship_way_value = document.getElementById("ship_way").value;
		if(ship_way_value == '0'){
			document.getElementById("ship_way_hidden").style.display="";
		}else{
			document.getElementById("ship_way_hidden").style.display="none";
		}
	}

	
function ship_way_change(val){
	if(val == '0'){
		document.getElementById("ship_way_hidden").style.display="";
	}else{
		document.getElementById("ship_way_hidden").style.display="none";
	}
}

function submitForm(){
	var ship_way_value = document.getElementById("ship_way").value;
		if(ship_way_value != '0' && document.getElementById("act_weight")  != null){
			document.getElementById("car_type").value="";
			document.getElementById("app_weight").value="";
			document.getElementById("act_weight").value="";
			document.getElementById("car_long").value="";
		}
		document.addForm.submit();
}

